home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSINESS
/
YCOLECT2.LZH
/
GO2.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-29
|
3KB
|
146 lines
echo off
IF NOT EXIST ECOH.COM A:
cls
echo
ECOH Welcome the installation procedure for Your Collector [TM]!
ECHO [disk 2 of 2]
echo
echo
ECHO Well, we're one half through. The rest is even easier than
ECHO the first part.
echo
ECHO Would you like to the install this program on a Hard Drive?
echo
ECHO [If just starting this process, 'GO' begins it on disk one]
echo
echo
:YESNO
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
GOTO YESNO
:YESNEXT
CLS
ECHO For you to install this program on a hard drive, this disk must be on Drive A.
ECHO Is this floppy on drive A now?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO1
GOTO YESNEXT
:YES1
CLS
ECHO Would you like to install this program on a floppy-based system?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES2
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO END
GOTO YES1
:YES
A:
CLS
echo
ECOH ══════════ Select the Hard drive you want to install the program on: ══════════
echo
echo
echo C = Drive C D = Drive D
echo E = Drive E F = Drive F
echo G = Drive G
:INPUT
echo
echo
INPUT (Pick a letter.)
IF ERRORLEVEL 72 GOTO INPUT
IF ERRORLEVEL 71 GOTO G
IF ERRORLEVEL 70 GOTO F
IF ERRORLEVEL 69 GOTO E
IF ERRORLEVEL 68 GOTO D
IF ERRORLEVEL 67 GOTO C
IF ERRORLEVEL 67 GOTO C
REM IF ERRORLEVEL 66 GOTO B
REM IF ERRORLEVEL 65 GOTO A
GOTO INPUT
:C
CLS
echo
INSTALL4 H C
:D
CLS
echo
INSTALL4 H D
:E
CLS
echo
INSTALL4 H E
:F
CLS
echo
INSTALL4 H F
:G
CLS
echo
INSTALL4 H G
:NO
CLS
echo
ECHO To install this for a floppy based system, this disk must be on Drive B.
GOTO END
:NO1
CLS
echo
ECOH To install this program, move this disk to drive A and re-execute 'GO4' there.
echo
echo If you have no choice but to install this program from drive B,
echo then execute this command now in DOS:
echo
echo
echo ASSIGN A=B {===== you enter this, follwed by Enter
echo
echo
echo Upon your completion of the ASSIGN command, please enter this command:
echo
echo
echo A: {===== you enter this, follwed by Enter
echo
echo
echo After you have entered 'A:', you will observe the light come on for drive B.
echo
echo
echo Then continue on drive B as though you were on drive A.
echo
GOTO END
:YES2
CLS
echo
ECHO Beginning with version 4.0 of this program, it will not operate
ECHO on a floppy-based system.
echo
GOTO END
echo
ECHO This disk must be on drive B to manufacture those three disks.
ECHO Each disk must be 720 kb or greater.
ECHO Are you in drive B now?
echo
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO3
GOTO YES2
:YES3
CLS
INSTALL4 F 2
:NO3
CLS
echo
echo To install this program, move this disk to drive B and re-execute 'GO2' there.
GOTO END
:NO2
CLS
echo
:END
echo